<?php
    // file: index.php
    session_start();
    $_SESSION['percent']=0;
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Testing ajax progress bar</title>
    <link rel="stylesheet" href="style.css" media="screen" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="script.js"></script>
</head>
<body>
    <h1><a href="#" id="start">Enviando....</a> correos!</h1>

    <div id="response"><div></div></div>
    <div id="text"><img src="ajax-loader.gif" id="loader" /> </div>
</body>
</html>